package com.itheima.pojo;

public class Code {

    public static final Integer ADD_OK = 000001;
    public static final Integer DELETE_OK = 000002;
    public static final Integer UPDATE_OK = 000004;
    public static final Integer OK = 1;

    public static final Integer ADD_ERR = 200001;
    public static final Integer DELETE_ERR = 200003;
    public static final Integer UPDATE_ERR = 200004;

    public static final Integer ERR201 = 201;//Created     已创建
    public static final Integer ERR401 = 401;//Unauthorized    创建未授权
    public static final Integer ERR403 = 403;//Forbidden   被禁止的
    public static final Integer ERR404 = 404;//Not Found   没有找到
}
